package org.sardine.aop.test_mock;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.apache.log4j.Logger;

public class MockInterceptor2 implements MethodInterceptor{
	
	private final Logger log = Logger.getLogger(MockInterceptor2.class);

	public Object invoke(MethodInvocation invocation) throws Throwable {
		Object result = null;
		
		log.info("-- before 2");
		result = invocation.proceed();
		log.info("-- after 2");
		
		return result;
	}

}
